﻿/**
 * create:dpyang
 * create:2013-4-5
 * describe:用户模型
 */
Ext.define('WeCompany.model.User', {
	extend:'Ext.data.Model',
	fields:['id',
	{name:'UserName',defaultValue:'user'},
	{name:'Email',defaultValue:'user@qq.com'},
	{name:'Roles',defaultValue:'普通用户'},
	{ name: 'CreationDate', type: 'date', dateFormat: 'Y-m-d H:i:s', defaultValue: new Date() },
	{name: 'LastLoginDate', type: 'date', dateFormat: 'Y-m-d H:i:s' },
	{name:'IsApproved',type:'bool',defaultValue:true}]
});